#include <stdio.h>

#define MAXN 10
typedef float ElementType;

ElementType Median( ElementType A[], int N );

int main ()
{
    ElementType A[MAXN];
    int N, i;

    scanf("%d", &N);
    for ( i=0; i<N; i++ )
        scanf("%f", &A[i]);
    printf("%.2f\n", Median(A, N));

    return 0;
}
ElementType Median( ElementType A[], int N )
{
	int i,j;
	ElementType temp;
	for(i=0;i<N-1;i++){
		for(j=i+1;j<N;j++){
			if(A[i]>A[j]){
				temp=A[i];A[i]=A[j];A[j]=temp;
			}
		}
	}
	
	return A[N/2];
}
